-- GENERATED SPELL FOR [Carrion Horror] --


function spell0_4695(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4695', 30336, 1)
end

function Sorts_4695(pUnit, Event)
local choix_sorts_4695 = math.random(0, 0)
if choix_sorts_4695 == 0 then
pUnit:RegisterEvent('spell0_4695', 1, 1)
end
end

function mob4695_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4695', math.random(1500, 3000), 1)
end

function mob4695_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4695_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4695_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4695, 1, 'mob4695_Action')
RegisterUnitEvent(4695, 2, 'mob4695_Leave')
RegisterUnitEvent(4695, 3, 'mob4695_Kill')
RegisterUnitEvent(4695, 4, 'mob4695_Die')
